package com.neu.question.service;

import com.neu.question.beans.PageVO;
import com.neu.question.domain.EndUserInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neu.question.form.EndUserForm;
import com.neu.question.form.SearchForm;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

/**
* @author DELL
* @description 针对表【end_user_info(用户特有特征表-关联总统人员表)】的数据库操作Service
* @createDate 2022-11-04 16:09:18
*/

public interface EndUserInfoService extends IService<EndUserInfo> {

    /**
     * 增加用户方法
     * 传入Map
     * 返回 int 1成功  0失败
     */

    PageVO list(Integer page, Integer size, String name);

    PageVO search(SearchForm searchForm);

    // username phoneNum opusername starttime stoptime
    // roleID=2  tenantsId questionnaireNum

    int save(EndUserForm endUserForm);

    int update(EndUserForm endUserForm, boolean change);

    int delete(String id);

    void create();
}
